/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package clasemath;

/**
 *
 * @author gurrola
 */
public class ValorAbsoluto {
   
    public static void main (String [] args){

        int i=-9;
        float f=921.12f;
        double d=-0.2213;

         System.out.println("|" + i + "| es " + Math.abs(i));
         System.out.println("|" + f + "| es " + Math.abs(f));
         System.out.println("|" + d + "| es " + Math.abs(d));

    }
}
